type int = number;
//class FontName

export class FontName  {
  constructor(private _fontName: string) {
    FontName.dcFontName[_fontName] = this;
  }

  public get fontName(): string {
    return this._fontName;
  }

  public set fontName(arg1: string) {
    this._fontName = arg1;
    return;
  }

  public getFontSize(arg1: int): int {
    return arg1;
  }

  public static getFontByName(arg1: string) {
    if (FontName.dcFontName.hasOwnProperty(arg1)) {
      return FontName.dcFontName[arg1];
    }
    return null;
  }

  public static /* var */ dcFontName: Record<string, FontName> = {};
}
